import { role } from './permission/hasRole'
import { permission } from './permission/hasPermi'
import type { App } from 'vue'

const install = (app: App): void => {
    app.directive('hasRole', role)
    app.directive('hasPermi', permission)
}

export default { install }
